<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Democracia Plena</title>
</head>
<body>
	<f:view>
		<div id="wrap">
		<a href="materia.xhtml">voto</a>
			<div id="topo">
				<h1>Democracia Plena</h1>
			</div>
			<div id="login">
			<h:form id="logar">
			<h:outputLabel for="nomeusuario">Nome Usuario</h:outputLabel>
			<h:inputText type="text" id="nomeusuario" value="#{crudUsuario.login.nomeusuario}"></h:inputText>
			<br/>
			<h:outputLabel for="senha">Senha</h:outputLabel>
			<h:inputText type="text" id="senha" value="#{crudUsuario.login.senha}"></h:inputText>
			<br/>
			<h:commandButton value="Logar" type="submit" action="#{crudUsuario.logar}"></h:commandButton>
			</h:form>
			</div>
			<ui:insert name="conteudo"></ui:insert>
		
			<h:form>
				<h:commandLink value="Sim" id="sim"></h:commandLink> |||
				<h:commandLink value="Não" id="nao"></h:commandLink>
			
			
			</h:form>
		
		
			<div id="rodape">
				<p>rodapé</p>
			</div>
		</div>
	</f:view>
</body>
</html>